home *** CD-ROM | disk | FTP | other *** search
/ Merciful 2 / Merciful - Disc 2.iso / software / t / toeutilities25.dms / toeutilities25.adf / Install_IconX < prev    next >
AmigaDOS Script File  |  1995-08-05  |  2KB  |  86 lines

  1. .key install_dir
  2. .bra {
  3. .ket }
  4.  
  5. ; This is an AmigaDOS script that installs BootUte 2.3.
  6. ;
  7. ; Script written by Paul Toyne.
  8. ;
  9. ; ©1995 TLS Software.
  10. ;
  11. ; Usage : Install_IconX <Place to install the BootUte directory>
  12.  
  13. Failat 100
  14.  
  15. Echo "Welcome to BootUte's installation script"
  16. Echo " "
  17. Echo "Written by Paul Toyne"
  18. Echo " "
  19. Echo "©1995 TLS Software"
  20. Echo ""
  21.  
  22. If "{install_dir}" EQ ""
  23.   Echo "Usage : Install_IconX <directory>"
  24.   Echo " "
  25.   Echo "Make sure the <directory> ends in a '/' or a ':'"
  26.   Skip END
  27. EndIf
  28.  
  29. Version >NIL: VERSION 37
  30.  
  31. If WARN
  32.   Echo "Sorry BootUte only works on Kickstart 2.0 or above"
  33.   Echo "I suggest you upgrade immediately"
  34.   Skip END
  35. EndIf
  36.  
  37. If EXISTS C:BootUte
  38.   Echo "Deleting your previous version of BootUte"
  39.   Delete >NIL: C:BootUte
  40. EndIf
  41.  
  42. Delete >NIL: ENV:BootUte
  43. Delete >NIL: ENVARC:BootUte
  44.  
  45. If NOT EXISTS "{install_dir}BootUte"
  46.   Makedir >NIL: "{install_dir}BootUte"
  47.   Copy >NIL: Docs.info "{install_dir}BootUte.info"
  48. EndIf
  49.  
  50. If NOT EXISTS "{install_dir}BootUte/Docs"
  51.   Makedir >NIL: "{install_dir}BootUte/Docs"
  52. EndIf
  53.  
  54. Echo "Copying BootUte's files"
  55.  
  56. Copy >NIL: BootUte_2 "{install_dir}BootUte/"
  57. Copy >NIL: BootUte_2.info "{install_dir}BootUte/"
  58. Copy >NIL: Docs.info "{install_dir}BootUte/"
  59. Copy >NIL: Docs/BootUte_2.guide "{install_dir}BootUte/Docs/"
  60. Copy >NIL: Docs/BootUte_2.guide.info "{install_dir}BootUte/Docs/"
  61. Copy >NIL: Docs/BootUte_2.doc "{install_dir}BootUte/Docs/"
  62. Copy >NIL: Docs/BootUte_2.doc.info "{install_dir}BootUte/Docs/"
  63. Copy >NIL: Docs/Register_BU.doc "{install_dir}BootUte/Docs/"
  64. Copy >NIL: Docs/Register_BU.doc.info "{install_dir}BootUte/Docs/"
  65.  
  66. If NOT EXISTS "ENV:TLS"
  67.   Makedir >NIL: ENV:TLS
  68. EndIf
  69.  
  70. If NOT EXISTS "ENV:TLS/BootUte"
  71.   Makedir >NIL: ENV:TLS/BootUte
  72. EndIf
  73.  
  74. If NOT EXISTS "ENVARC:TLS"
  75.   Makedir >NIL: ENVARC:TLS
  76. EndIf
  77.  
  78. If NOT EXISTS "ENVARC:TLS/BootUte"
  79.   Makedir >NIL: ENVARC:TLS/BootUte
  80. EndIf
  81.  
  82. Echo " "
  83. Echo "BootUte 2.1 AUI has been installed in '{install_dir}BootUte/'"
  84.  
  85. Lab END
  86.